package com.ruoyi.system.domain.module.points;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * 积分对象 points
 *
 * @author ruoyi
 * @date 2025-05-30
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("estate_points")
public class EstatePoints implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 物业公司
     */
    private Long propertyId;

	@TableField(exist = false)
	private String propertyName;
    /**
     * 所属小区
     */
    private Long estateId;

	@TableField(exist = false)
	private String estateName;

    /**
     * 微信
     */
    private Long wxUserId;

	@TableField(exist = false)
	private String wxUserName;

	@TableField(exist = false)
	private String faceUrl;

    /**
     * 总获取积分数量
     */
    private Long totalPointsNum;

    /**
     * 使用积分数量
     */
    private Long usePointsNum;

    /**
     * 剩余积分数量
     */
    private Long pointsNum;

}
